﻿using System;
using System.Collections.Generic;

namespace DTcms.Model
{
    /// <summary>
    /// ch_product
    /// </summary>
    [Serializable]
	public partial class gongying
	{
	    public gongying()
        { }
        #region Model
		private int _id;
		private int _category_id;
		private string _title = string.Empty;
		private int _price;
		private string _unit = string.Empty;
		private int _size_long;
		private int _size_wide;
		private int _size_height;
		private string _img_url = string.Empty;
		private string _content = string.Empty;
		private int _user_id;
		private int _company_id;
		private string _lianxiren = string.Empty;
		private string _mobile = string.Empty;
		private DateTime _add_time;
		private int _status;
        private int _hits = 0;
        private int _quanzi_id = 0;
        private int _province_id = 0;
        private int _city_id = 0;

      	/// <summary>
		/// id
		/// </summary>
        public int id
        {
            set{ _id = value; }
            get{ return _id; }
        }        
		/// <summary>
		/// category_id
		/// </summary>
        public int category_id
        {
            set{ _category_id = value; }
            get{ return _category_id; }
        }        
		/// <summary>
		/// title
		/// </summary>
        public string title
        {
            set{ _title = value; }
            get{ return _title; }
        }        
		/// <summary>
		/// price
		/// </summary>
        public int price
        {
            set{ _price = value; }
            get{ return _price; }
        }        
		/// <summary>
		/// unit
		/// </summary>
        public string unit
        {
            set{ _unit = value; }
            get{ return _unit; }
        }        
		/// <summary>
		/// size_long
		/// </summary>
        public int size_long
        {
            set{ _size_long = value; }
            get{ return _size_long; }
        }        
		/// <summary>
		/// size_wide
		/// </summary>
        public int size_wide
        {
            set{ _size_wide = value; }
            get{ return _size_wide; }
        }        
		/// <summary>
		/// size_height
		/// </summary>
        public int size_height
        {
            set{ _size_height = value; }
            get{ return _size_height; }
        }        
		/// <summary>
		/// img_url
		/// </summary>
        public string img_url
        {
            set{ _img_url = value; }
            get{ return _img_url; }
        }        
		/// <summary>
		/// content
		/// </summary>
        public string content
        {
            set{ _content = value; }
            get{ return _content; }
        }        
		/// <summary>
		/// user_id
		/// </summary>
        public int user_id
        {
            set{ _user_id = value; }
            get{ return _user_id; }
        }        
		/// <summary>
		/// company_id
		/// </summary>
        public int company_id
        {
            set{ _company_id = value; }
            get{ return _company_id; }
        }        
		/// <summary>
		/// lianxiren
		/// </summary>
        public string lianxiren
        {
            set{ _lianxiren = value; }
            get{ return _lianxiren; }
        }        
		/// <summary>
		/// mobile
		/// </summary>
        public string mobile
        {
            set{ _mobile = value; }
            get{ return _mobile; }
        }        
		/// <summary>
		/// add_time
		/// </summary>
        public DateTime add_time
        {
            set{ _add_time = value; }
            get{ return _add_time; }
        }        
		/// <summary>
		/// status
		/// </summary>
        public int status
        {
            set{ _status = value; }
            get{ return _status; }
        }
        public int hits
        {
            get { return _hits; }
            set { _hits = value; }
        }
        public int quanzi_id
        {
            get { return _quanzi_id; }
            set { _quanzi_id = value; }
        }
        public int province_id
        {
            get { return _province_id; }
            set { _province_id = value; }
        }
        public int city_id
        {
            get { return _city_id; }
            set { _city_id = value; }
        }
        /// <summary>
        /// 图片相册
        /// </summary>
        private List<common_albums> _albums;
        public List<common_albums> albums
        {
            set { _albums = value; }
            get { return _albums; }
        }
		#endregion Model
	}
}